package com.example.thinvent;

import com.spring.ApplicationContext;
import com.spring.ComponentScan;

@ComponentScan
public class Main {

    public static void main(String[] args) {
        ApplicationContext applicationContext = new ApplicationContext(AppConfig.class);
        UserService userService = (UserService) applicationContext.getBean("userService");
        userService.test();
    }
}
